<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="css/index.css" />
    <title>Document</title>
  </head>
  <body>
    {% include "./template/header.html" %}
    <div class="welcome">
      <h1>{{title}} 欢迎 {{items[0].value}}!</h1>
      <ul>
        {% asyncEach item in items %}
        <li>{{item.key}}：{{item.value}}</li>
        {% endeach %}
      </ul>
    </div>
  </body>
  <script>
    setTimeout(() => {
      window.location.href = '/'
    }, 15000)
  </script>
</html>
